Part Number Hot Search : 
PM100 74LV374 91SAM MAX4081T 2SJ19 6350IMS THV314 BA6805A
Product Description
Full Text Search
 

To Download UM0068 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  stmicroelectronics st7mdtuls-eval st7 usb low-speed evaluation board UM0068 user manual rev 2 october 2007
blank
october 2007 rev 2 1/15 UM0068 user manual st7mdtuls-eval st7 usb low-speed evaluation board introduction the objective of the st7mdtuls-eval evaluation board is to provide a complete usb application package using a windows-based host software application and one of st?s range of usb low-speed microcontrollers acting as a peripheral device. the host software and the st7 source code provide an easily-understood example of how to exchange data using the hid (human interface devices) class protocols. the firmware supplied on the st7 devices is based on a usb core library that makes the control of all the usb interface hardware transparent to the application developer. this usb library, developed by stmicroelectronics and plug-tested by the usb if (implementers forum), is intended for you to use as a toolbox. all the documentation you need to do this is supplied with the package. the st7mdtuls-eval evaluation board incorporates basic input sources such as push- buttons, an analog trimmer and output sources (leds). it also has a wire-wrap area so that you can easily develop your own application. an external 12 v charge pump is also provided, to allow you to program the st7 embedded flash program memory using in- application programming (iap). the following development tools can be ordered separately: assembler, linker, c compiler, source leve l debugger, hardware emulator, programming boards and gang programmer. for ordering information, see our website at www.st.com or contact your loca l sales office. www.st.com
contents UM0068 2/15 contents introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 system requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2 package contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.3 software installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 hardware installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.1 power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.2 jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.3 device selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2 running the usb low speed evaluation board . . . . . . . . . . . . . . . . . . . . 8 2.1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2 hid demonstrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2.1 usb enumeration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2.2 communication with the evaluation board . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3 remote wake-up function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.4 adding circuitry on the wire-wrap area . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.5 enabling board for icc communication . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
UM0068 list of tables 3/15 list of tables table 1. description of evaluation board probing points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 2. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
list of figures UM0068 4/15 list of figures figure 1. evaluation board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 2. device selection for analog-to-digital conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 3. enumeration result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 figure 4. hid demonstrator window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 5. hid demonstrator window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 6. board schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 7. recommended board modifications for icc communication . . . . . . . . . . . . . . . . . . . . . . . 13
UM0068 getting started 5/15 1 getting started 1.1 system requirements in order to use the st7mdtuls-eval with th e windows operating system, a recent version of windows, such as windows 98, windows millennium, windows 2000, or windows xp must be installed on the pc. the version of the windows os installed on your pc may be determined by clicking on the ?system? icon in the control panel. caution: when running the hid evaluation board applet provided in the package, verify that the correct version of the hi d.dll file is installed: windows 98: hid.dll - version 4.10.1998 windows 98 se: hid.dll - version 4.10.2222 windows millennium: hid.dll - version 4.90.300.1 windows 2000: hid.dll - version 5.00.2134.1 windows xp: hid.dll - version 5.1.2600.0 1.2 package contents the usb evaluation low-speed board package includes the following items: hardware content ? two st72 low-speed usb microcontroller devices: st7262xxx devices in sdip42 package st7263bxx devices in sdip32 package both devices are flash devices allowing up to 100 reprogramming cycles. they are delivered already programmed with the demonstration firmware. ? one evaluation board software content ? pc executable software for demonstrating hid transfers. ? st7 firmware (c source c ode) for the st7262xxx devices ? st7 firmware (c source code) for the st7263bxx devices documentation ? usb library 4 x interface documentation. ? st7262 and st7263bxx datasheets ? application note an1325 1.3 software installation run usbdemonstrator.exe to install the pc hid demonstrator, and follow the on-screen prompts to complete the installation.
getting started UM0068 6/15 1.4 hardware installation figure 1 shows the location of the main components of the evaluation board. the schematic drawing is given in figure 6 . figure 1. evaluation board layout 1.4.1 power supply the evaluation board is directly supplied by the usb connector (bus powered) and therefore does not require any external supply. in case the components added on the wire- wrap area sink more than 500ma, an external power supply must be used. 1.4.2 jumper settings the w1 jumper selects the analog trimmer. when the jumper is removed, the analog trimmer is disconnected from ground in order to stop power consumption and to meet the power specifications of usb suspend state. if analog-to-digital conversion is needed for application development, you can replace this jumper by a switch transistor controlled by an i/o pin. sw4=reset usb connector trimmer sdip32 socket sdip42 socket & supply jumper w1 jumper w6 jumper w7
UM0068 getting started 7/15 figure 2. device selection for analog-to-digital conversion if you are using the analog trimmer, select the installed st7 device using jumper w6 as shown in figure 2 . this ties the analog trimmer to the pa0 i/o port of the st7262xxx devices and to the pb0 port of the st7263bxx devices. any other analog input pin on the microcontroller can be used by removing the w6 jumper and wiring the center pin of w6 to the analog input. the w7 jumper can be used to connect or disconnect an external 12v charge pump in case you want to program the flash. 1.4.3 device selection three devices can be used with this board: st7263bxx devices in sdip32 package on the internal socket st7262xxx devices in sdip42 package on the external socket st7262xxx st7263bxx w6 jumper
running the usb low speed evaluation board UM0068 8/15 2 running the usb low speed evaluation board 2.1 introduction the usb low-speed evaluation board application consists of two main parts: a hid demonstrator running on a pc and the evaluation board itself. communications between the pc and the st7 board are done through different usb pipes: control in and out during enumeration with the bi-directional endpoint 0. interrupt in from endpoint 1 for data transferred from the st7 to the pc. interrupt out to endpoint 2 for the data transferred from the pc to the st7. note that the windows98 hid driver does not support interrupt out transfers, and automatically uses the control out pipe to endpoint 0 instead (set-output function). first connect the evaluation board to the pc with the usb cable. as a result, the evaluation board is enumerated as an hid device as shown in figure 3 , and is ready to use. figure 3. enumeration result when you start the hid demonstrator on the pc, a graphical interface is displayed (see figure 3 ) for controlling the evaluation board. this pc software is used to demonstrate the enumeration process and data transfer between the pc and the st7 peripheral according to the usb hid class specifications.
UM0068 running the usb low speed evaluation board 9/15 2.2 hid demonstrator 2.2.1 usb enumeration the device selection tabsheet, shown in figure 4 , displays the following information: available usb hid devices: all the hid devi ces connected to the pc are displayed in this window. device information this information, obtained during the enumeration phase, refers to the highlighted device in the ?available usb hid device? window: vendor id, product id and version numbers (refer to the usb specification version 1.1 or higher). in addition, as string information is supported, the manufacturer name, product and serial number are displayed. figure 4. hid demonstrator window 2.2.2 communication with the evaluation board controlling the evaluation board from a host pc the hid demonstration tabsheet, shown in figure 5 , displays the following information: click on the on/off button in t he application dialog box to switch on the led ld2 on the board. click again to switch it off. the slider bar controls the brightness of a led ld3 (st7 262xxx) or ld1 (st7263bxx). each slider bar value will be converted to a pulse width modulation (pwm) signal by the microcontroller. displaying the evaluation board state button state: this red led changes its state when you press the sw1 push button on the evaluation board. trimmer value: this value is the result of the analog-to-digital conversion of the rv1 trimmer output. when you turn the trimmer on the evaluation board to a different position, the new adc value is transmitted via the usb bus and displayed on the progress bar of the hid demonstrator. hid attached device information device
running the usb low speed evaluation board UM0068 10/15 figure 5. hid demonstrator window 2.3 remote wake-up function the remote wake-up function is also supported by the evaluation board. by pressing sw3 (st7262xxx) or sw2 (st7263bxx) you ca n wake up the pc from standby mode. under windows xp, the remote wake-up capability should be enabled. for that you should go to the ?device manager? then ?human interface device? and ?hid-compliant device?. on the tabsheet ?power management?, select ?allow this device to bring the computer out of standby?. 2.4 adding circuitry on the wire-wrap area the evaluation board features a 43-hole row with all the microcontroller pins plus one side of the analog trimmer. these connection points can be used for signal probing or rewiring to the wire-wrap area. ta b l e 1 gives the definition of these points for each mcu used. ?led control? red led slider bar progress bar (led brightness) button table 1. description of evaluation board probing points probing point st7262xxx st7263bxx 1pd6 2pd5 3pd4 4pd3 5pd2 6v pp v pp 7pd1 8pd0 9pc7 10 pc6 11 pc5
UM0068 running the usb low speed evaluation board 11/15 12 pc4 13 pc3 14 pc2 pc2 15 oscin oscin 16 oscout oscout 17 v ss v ss 18 v dd v dd 19 pc1 pc1 20 pc0 pc0 21 pb7 pb7 22 pb6 pb6 23 pb5 pb5 24 pb4 pb4 25 pb3 pb3 26 pb2 pb2 27 pb1 pb1 28 pb0 pb0 29 pa7 pa7 30 pa6 pa6 31 pa5 pa5 32 pa4 pa4 33 pa3 pa3 34 pa2 pa2 35 pa1 pa1 36 pa0 pa0 37 reset reset 38 v ssa 39 usbdm usbdm 40 usbdp usbdp 41 usbvcc usbvcc 42 v dda v dda 43 an.trim. an.trim. table 1. description of evaluation board probing points (continued) probing point st7262xxx st7263bxx
running the usb low speed evaluation board UM0068 12/15 figure 6. board schematics pa5 pb7 pb6 pa7 pc0 pb1 usbv c c u sb dm vs s a v pp p c 2 pb5 pb4 pb3 pb2 pa2 pa1 vd da usb vcc usbdp usbdm vs sa r e s et pa 0 pa 1 pa 2 pa 3 pa 4 pa 5 pa 6 pa 7 pb 0 pb 1 pb 2 pb 3 pb 4 pb 5 pb 6 pb 7 pc 0 pc1 vdd vs s o s c in vp p vdd vss pc1 pc2 o s c ou t pb0 pa4 pa4 reset pa0 vdda pa1 pa6 os ci n pa3 os c ou t vssa pb2 vss pd4 pd2 pc3 pc6 pc7 pd3 pc3 pc4 pc5 pc6 pc7 pd0 pd 2 pd3 pd4 p d 5 pd6 pd1 u sb dp vdda usbvcc pa2 pa5 pa6 pb0 pb3 pb7 oscout pc2 pc4 pd0 pd6 usbdp usbdm reset pa0 pa3 pa7 pb1 pb4 pb5 pb6 pc0 pc1 vdd oscin pc5 pd1 vpp pd5 vcc_arrow r4 1 k 5 r6 2k 2 c 3 33p f 1 2 3 4 5 6 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 pd6 pd5 pd4 pd3 pd2 vpp pd1 pd0 pc7 pc6 pc5 pc4 pc3 pc2 oscin oscout vss vdd pc1 pc0 pb7 pb6 pb5 pb4 pb3 pb2 pb1 pb0 pa7 pa6 pa5 pa4 pa3 pa2 pa1 pa0 reset vssa usbdm usbdp usbvcc vdda w1b1 c4 33p f c5 22 0n f ld4 l ed red ld3 le d red ld2 le d red w1 1 2 ld1 le d red r8 47 0 r7 47 0 r6 47 0 s t 7 2 6 3 u 2 1 1 5 3 2 4 1 6 7 9 1 0 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 6 2 7 8 2 8 3 0 2 9 3 1 32 v pp pc2 o sci n o scou t vss vdd p c1 p c0 pb7 pb6 p b5 pb4 p b3 p b 2 pb1 pb0 pa7 pa6 p a5 pa4 p a 3 pa2 pa 1 p a0 r ese t v ssa u sbdm u sbdp u sbvcc v dd a r5 47 0 c 2 10n f 4 7 k s t 7262 st72 6 2 u 1 1 2 3 4 5 6 0 7 0 8 0 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 3 0 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 4 0 4 1 4 2 p d6 p d 5 p d 4 pd3 p d2 vp p p d 1 pd 0 p c 7 p c6 pc5 p c 4 p c 3 p c 2 o sc i n oscout vs s vdd pc1 p c 0 pb7 pb6 pb5 pb4 pb3 pb2 pb1 pb0 pa7 pa6 pa5 pa4 pa3 pa2 pa1 pa0 r es et vssa usb dm u sb d p us bvc c vdd a x t1 12mhz reset sw4 + c 1 5 0 v 4 .7uf 1 2 + c9 5 0 v 4 .7 u f 1 2 + c 6 5 0 v 4 . 7 uf 1 2 sw3 sw3 sw2 sw2 cw rv1 10k c8 22 0n f w6 1 2 3 sw1 sw1 47 k 2. 5 v u3 s t 6 6 2 a 2 3 4 1 5 6 7 8 c1 + c2 - c 2 + c1 - vc c vo ut gnd shd n usb j 1 1 2 3 4 c 7 10 0 n f bc5 57 b t 1 r1 47 k w7 1 2 w2 1 2 w3 1 2 w4 1 2 w5 1 2 vcc_arrow vcc_arrow vcc_arrow vcc_arrow vcc_arrow r2 r3
UM0068 running the usb low speed evaluation board 13/15 2.5 enabling board for icc communication to enable icc communication on this board, the connection between the v pp pin of the mcu and the charge pump capacitors (c6 and c7) needs to be cut to allow the programming tool to generate pulses on the v pp line (mandatory for entry into icc mode). to allow switching between either icc and iap functionality, the use of a jumper is recommended, soldered across the location of the cut. this allows 12 v to reach the v pp pin in iap mode. see the figure below for the recommended cut and jumper locations. figure 7. recommended board modi fications for icc communication cut line here jumper between these points
revision history UM0068 14/15 3 revision history table 2. document revision history date revision changes 28-oct-2002 1.2 initial release 11-oct-2007 2.0 added evaluation board root part number (st7mdtuls-eval). removed st72f61 and sdip42-dip20 adaptor. changed st72f62 and st72f63b root part numbers into st7262xxx and st7263bxx, respectively. removed reference to supplied c source code for pc executable software, section 1.2 on page 5 added section 2.5: enabling board for icc communication .
UM0068 15/15 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2007 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of UM0068

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X